package com.wanger.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author: wanger
 * @Date: 2023/8/17 22:09
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_resource")
@ApiModel("系统资源")
public class SysResource {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty("主键id")
    private String id;

    @TableField("name")
    @ApiModelProperty("名称")
    private String name;

    @TableField("url")
    @ApiModelProperty("资源地址")
    private String url;

    @TableField("`describe`")
    @ApiModelProperty("描述")
    private String describe;

    @TableField("other")
    @ApiModelProperty("其他")
    private String other;

}
